{% extends 'cms/base.html' %}
{% block title %}
    添加学生
{% endblock %}
{% block page_header %}
添加
{% endblock %}
{% block head %}

{% endblock %}
{% block content %}
    <div id="head-inner" style="margin-left: 0;margin-top: 20px; overflow: hidden">

        <!-- 开始搜索 -->
        <form action="" method="post">

            <div style="width: 70%;height: 100%; text-align: center" >
                <table border="0px" cellspacing="" cellpadding="" class="table">
                    <tr>  <!--表格-->
                        <td>
                            教师编号
                        </td>
                        <td style="width: auto">
                            <input readonly="readonly" name="TnoInput" class="form-control" placeholder="{{ teacher[0] }}">
                        </td>
                    </tr>
                    <tr>
                        <td>
                            教师姓名
                        </td>
                        <td style="width: auto">
                            <input readonly="readonly" name="NameInput" class="form-control" placeholder="{{ teacher[1] }}" />
                        </td>
                    </tr>

                    <tr>
                        <td>教师性别</td>
                        <td>
                            <input readonly="readonly" class="form-control" placeholder="{{ teacher[2] }}" />
                        </td>
                    </tr>
                    <tr>
                        <td>教师班级</td>
                        <td>
                            <select name="depart" class="form-control" style="text-align: center" required>
                                <option disabled selected style="display: none">{{ student[3] }}</option>
                                {% for depart in departs %}
                                    <option value="{{ depart }}">{{ depart }}</option>
                                {% endfor %}
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            教师生日
                        </td>
                        <td style="width: auto">
                            <input class="form-control" readonly="readonly" placeholder="{{ teacher[4] }}"/>
                        </td>
                    </tr>
                    <tr>
                        <td><input type="submit" value="提交" class="btn btn-danger"/></td>
                        <td><input type="reset" value="重置" class="btn btn-info"/></td>
                    </tr>

                </table>

            </div>
        </form>
        <!-- 结束搜索 -->
    </div>
{% endblock %}